package cc.rengu.igas.share.facade.bean.cups;

import cc.rengu.oltp.utility.util.StringUtil;

/**
 * @author fangminwei
 * @date 2021/4/16
 */
@SuppressWarnings("AlibabaLowerCamelCaseVariableNaming")
public class F61 {
    private boolean f61_Open;
    private String f61_1_1;
    private String f61_1_2;
    private String f61_2;
    private String f61_3;
    private String f61_4_1;
    private String f61_4_2;
    private String f61_4_3;
    private String f61_5;
    private String f61_6_1;
    private String f61_6_2_FORMATTER;
    private String f61_6_2_SC_1;
    private String f61_6_2_SC_2;
    private String f61_6_2_SC_3;
    private String f61_6_2_SC_4;
    private String f61_6_2_SC_5;
    private String f61_6_2_SC_6;
    private String f61_6_2_SC_7;
    private String f61_6_2_SC_8;
    private String f61_6_2_SC_9;
    private String f61_6_2_SC_10;
    private String f61_6_2_AR_1;
    private String f61_6_2_AR_2;
    private String f61_6_2_AR_3;
    private String f61_6_2_SA_1;
    private String f61_6_2_SA_2;
    private String f61_6_2_SA_3;
    private String f61_6_2_SA_4;
    private String f61_6_2_SA_5;
    private String f61_6_2_SA_6;
    private String f61_6_2_CR_1;
    private String f61_6_2_AM_1_BitMap;
    private String f61_6_2_AM_2_Name;
    private String f61_6_2_AM_2_Phone;
    private String f61_6_2_AM_2_DynCheckValue;
    private String f61_6_2_NM_1;
    private String f61_6_2_NM_2;

    public F61() {
        f61_Open = false;
    }

    public boolean isF61_Open() {
        return f61_Open;
    }

    public void setF61_Open(boolean f61_Open) {
        this.f61_Open = f61_Open;
    }

    public String getF61_6_2_FORMATTER() {
        return f61_6_2_FORMATTER;
    }

    public F61 setF61_6_2_FORMATTER(String f61_6_2_FORMATTER) {
        this.f61_6_2_FORMATTER = f61_6_2_FORMATTER;
        return this;
    }

    public String getF61_1_1() {
        return f61_1_1;
    }

    public F61 setF61_1_1(String f61_1_1) {
        this.f61_1_1 = f61_1_1;
        if (StringUtil.isEmptyOrNull(f61_1_1))
            return this;

        f61_Open = true;
        return this;
    }

    public String getF61_1_2() {
        return f61_1_2;
    }

    public F61 setF61_1_2(String f61_1_2) {
        this.f61_1_2 = f61_1_2;
        if (StringUtil.isEmptyOrNull(f61_1_2))
            return this;

        f61_Open = true;
        return this;
    }

    public String getF61_2() {
        return f61_2;
    }

    public F61 setF61_2(String f61_2) {
        this.f61_2 = f61_2;
        if (StringUtil.isEmptyOrNull(f61_2))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_3() {
        return f61_3;
    }

    public F61 setF61_3(String f61_3) {
        this.f61_3 = f61_3;
        if (StringUtil.isEmptyOrNull(f61_3))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_4_1() {
        return f61_4_1;
    }

    public F61 setF61_4_1(String f61_4_1) {
        this.f61_4_1 = f61_4_1;
        if (StringUtil.isEmptyOrNull(f61_4_1))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_4_2() {
        return f61_4_2;
    }

    public F61 setF61_4_2(String f61_4_2) {
        this.f61_4_2 = f61_4_2;
        if (StringUtil.isEmptyOrNull(f61_4_2))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_4_3() {
        return f61_4_3;
    }

    public F61 setF61_4_3(String f61_4_3) {
        this.f61_4_3 = f61_4_3;
        if (StringUtil.isEmptyOrNull(f61_4_3))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_5() {
        return f61_5;
    }

    public F61 setF61_5(String f61_5) {
        this.f61_5 = f61_5;
        if (StringUtil.isEmptyOrNull(f61_5))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_6_1() {
        return f61_6_1;
    }

    public F61 setF61_6_1(String f61_6_1) {
        this.f61_6_1 = f61_6_1;
        if (StringUtil.isEmptyOrNull(f61_6_1))
            return this;

        setF61_Open(true);
        return this;
    }

    public String getF61_6_2_SC_1() {
        return f61_6_2_SC_1;
    }

    public F61 setF61_6_2_SC_1(String f61_6_2_SC_1) {
        this.f61_6_2_SC_1 = f61_6_2_SC_1;
        return this;
    }

    public String getF61_6_2_SC_2() {
        return f61_6_2_SC_2;
    }

    public F61 setF61_6_2_SC_2(String f61_6_2_SC_2) {
        this.f61_6_2_SC_2 = f61_6_2_SC_2;
        return this;
    }

    public String getF61_6_2_SC_3() {
        return f61_6_2_SC_3;
    }

    public F61 setF61_6_2_SC_3(String f61_6_2_SC_3) {
        this.f61_6_2_SC_3 = f61_6_2_SC_3;
        return this;
    }

    public String getF61_6_2_SC_4() {
        return f61_6_2_SC_4;
    }

    public F61 setF61_6_2_SC_4(String f61_6_2_SC_4) {
        this.f61_6_2_SC_4 = f61_6_2_SC_4;
        return this;
    }

    public String getF61_6_2_SC_5() {
        return f61_6_2_SC_5;
    }

    public F61 setF61_6_2_SC_5(String f61_6_2_SC_5) {
        this.f61_6_2_SC_5 = f61_6_2_SC_5;
        return this;
    }

    public String getF61_6_2_SC_6() {
        return f61_6_2_SC_6;
    }

    public F61 setF61_6_2_SC_6(String f61_6_2_SC_6) {
        this.f61_6_2_SC_6 = f61_6_2_SC_6;
        return this;
    }

    public String getF61_6_2_SC_7() {
        return f61_6_2_SC_7;
    }

    public F61 setF61_6_2_SC_7(String f61_6_2_SC_7) {
        this.f61_6_2_SC_7 = f61_6_2_SC_7;
        return this;
    }

    public String getF61_6_2_SC_8() {
        return f61_6_2_SC_8;
    }

    public F61 setF61_6_2_SC_8(String f61_6_2_SC_8) {
        this.f61_6_2_SC_8 = f61_6_2_SC_8;
        return this;
    }

    public String getF61_6_2_SC_9() {
        return f61_6_2_SC_9;
    }

    public F61 setF61_6_2_SC_9(String f61_6_2_SC_9) {
        this.f61_6_2_SC_9 = f61_6_2_SC_9;
        return this;
    }

    public String getF61_6_2_SC_10() {
        return f61_6_2_SC_10;
    }

    public F61 setF61_6_2_SC_10(String f61_6_2_SC_10) {
        this.f61_6_2_SC_10 = f61_6_2_SC_10;
        return this;
    }

    public String getF61_6_2_AR_1() {
        return f61_6_2_AR_1;
    }

    public F61 setF61_6_2_AR_1(String f61_6_2_AR_1) {
        this.f61_6_2_AR_1 = f61_6_2_AR_1;
        return this;
    }

    public String getF61_6_2_AR_2() {
        return f61_6_2_AR_2;
    }

    public F61 setF61_6_2_AR_2(String f61_6_2_AR_2) {
        this.f61_6_2_AR_2 = f61_6_2_AR_2;
        return this;
    }

    public String getF61_6_2_AR_3() {
        return f61_6_2_AR_3;
    }

    public F61 setF61_6_2_AR_3(String f61_6_2_AR_3) {
        this.f61_6_2_AR_3 = f61_6_2_AR_3;
        return this;
    }

    public String getF61_6_2_SA_1() {
        return f61_6_2_SA_1;
    }

    public F61 setF61_6_2_SA_1(String f61_6_2_SA_1) {
        this.f61_6_2_SA_1 = f61_6_2_SA_1;
        return this;
    }

    public String getF61_6_2_SA_2() {
        return f61_6_2_SA_2;
    }

    public F61 setF61_6_2_SA_2(String f61_6_2_SA_2) {
        this.f61_6_2_SA_2 = f61_6_2_SA_2;
        return this;
    }

    public String getF61_6_2_SA_3() {
        return f61_6_2_SA_3;
    }

    public F61 setF61_6_2_SA_3(String f61_6_2_SA_3) {
        this.f61_6_2_SA_3 = f61_6_2_SA_3;
        return this;
    }

    public String getF61_6_2_SA_4() {
        return f61_6_2_SA_4;
    }

    public F61 setF61_6_2_SA_4(String f61_6_2_SA_4) {
        this.f61_6_2_SA_4 = f61_6_2_SA_4;
        return this;
    }

    public String getF61_6_2_SA_5() {
        return f61_6_2_SA_5;
    }

    public F61 setF61_6_2_SA_5(String f61_6_2_SA_5) {
        this.f61_6_2_SA_5 = f61_6_2_SA_5;
        return this;
    }

    public String getF61_6_2_SA_6() {
        return f61_6_2_SA_6;
    }

    public F61 setF61_6_2_SA_6(String f61_6_2_SA_6) {
        this.f61_6_2_SA_6 = f61_6_2_SA_6;
        return this;
    }

    public String getF61_6_2_CR_1() {
        return f61_6_2_CR_1;
    }

    public F61 setF61_6_2_CR_1(String f61_6_2_CR_1) {
        this.f61_6_2_CR_1 = f61_6_2_CR_1;
        return this;
    }

    public String getF61_6_2_NM_1() {
        return f61_6_2_NM_1;
    }

    public F61 setF61_6_2_NM_1(String f61_6_2_NM_1) {
        this.f61_6_2_NM_1 = f61_6_2_NM_1;
        if (StringUtil.isEmptyOrNull(f61_6_2_NM_1))
            return this;

        f61_Open = true;
        f61_6_2_FORMATTER = F61_6_2_FORMATTER.NM.getCode();
        return this;
    }

    public String getF61_6_2_NM_2() {
        return f61_6_2_NM_2;
    }

    public F61 setF61_6_2_NM_2(String f61_6_2_NM_2) {
        this.f61_6_2_NM_2 = f61_6_2_NM_2;
        if (StringUtil.isEmptyOrNull(f61_6_2_NM_2))
            return this;

        f61_Open = true;
        f61_6_2_FORMATTER = F61_6_2_FORMATTER.NM.getCode();
        return this;
    }

    public String getF61_6_2_AM_1_BitMap() {
        return f61_6_2_AM_1_BitMap;
    }

    public F61 setF61_6_2_AM_1_BitMap(String f61_6_2_AM_1_BitMap) {
        this.f61_6_2_AM_1_BitMap = f61_6_2_AM_1_BitMap;
        if (StringUtil.isEmptyOrNull(f61_6_2_AM_1_BitMap))
            return this;

        this.f61_6_2_AM_1_BitMap = f61_6_2_AM_1_BitMap;
        return this;
    }

    public F61 openF61_6_2_AM_1_BitMap(int index) {
        // 16个0初始化位图
        if (StringUtil.isEmptyOrNull(f61_6_2_AM_1_BitMap))
            f61_6_2_AM_1_BitMap = "0000000000000000";

        StringBuilder sb = new StringBuilder(f61_6_2_AM_1_BitMap);
        sb.setCharAt(index, '1');
        f61_6_2_AM_1_BitMap = sb.toString();
        return this;
    }

    public String getF61_6_2_AM_2_Name() {
        return f61_6_2_AM_2_Name;
    }

    public F61 setF61_6_2_AM_2_Name(String f61_6_2_AM_2_Name) {
        this.f61_6_2_AM_2_Name = f61_6_2_AM_2_Name;
        if (StringUtil.isEmptyOrNull(f61_6_2_AM_2_Name))
            return this;

        this.f61_6_2_AM_2_Name = f61_6_2_AM_2_Name;
        return this;
    }

    public String getF61_6_2_AM_2_Phone() {
        return f61_6_2_AM_2_Phone;
    }

    public F61 setF61_6_2_AM_2_Phone(String f61_6_2_AM_2_Phone) {
        this.f61_6_2_AM_2_Phone = f61_6_2_AM_2_Phone;
        if (StringUtil.isEmptyOrNull(f61_6_2_AM_2_Phone))
            return this;

        this.f61_6_2_AM_2_Phone = f61_6_2_AM_2_Phone;
        return this;
    }

    public String getF61_6_2_AM_2_DynCheckValue() {
        return f61_6_2_AM_2_DynCheckValue;
    }

    public F61 setF61_6_2_AM_2_DynCheckValue(String f61_6_2_AM_2_DynCheckValue) {
        this.f61_6_2_AM_2_DynCheckValue = f61_6_2_AM_2_DynCheckValue;
        if (StringUtil.isEmptyOrNull(f61_6_2_AM_2_DynCheckValue))
            return this;

        this.f61_6_2_AM_2_DynCheckValue = f61_6_2_AM_2_DynCheckValue;
        return this;
    }
}
